cmake_minimum_required(VERSION 3.13)
project(cml-parser CXX)

set(CMAKE_CXX_STANDARD 17)

set(SRC
    cmlBaseListener.cpp
    cmlLexer.cpp
    cmlListener.cpp
    cmlParser.cpp
    test.cpp
)

add_executable(${PROJECT_NAME} ${SRC})
target_include_directories(${PROJECT_NAME} PRIVATE /usr/local/include/antlr4-runtime)
target_link_libraries(${PROJECT_NAME} PUBLIC antlr4-runtime)